package com.cans.ssoserver.model.system;

import com.cans.base.model.BaseModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * description: 接入系统MODEL层
 *
 * @author cans
 * @date 2018/7/30
 */
@Entity
@Table(name = "system")
public class SystemModel extends BaseModel {

    /**
     * 系统名称
     */
    @Column(name = "system_name",length = 50)
    private String systemName;
    /**
     * 系统编号
     */
    @Column(name = "system_code",length = 50)
    private String systemCode;
    /**
     * 系统访问路径
     */
    @Column(name = "system_url",length = 100)
    private String systemUrl;
    /**
     * 系统图片ID
     */
    @Column(name = "photo_id",length = 32)
    private String photoId;
    /**
     * 系统排序号
     */
    @Column(name = "system_index")
    private Integer systemIndex;

    public String getSystemName() {
        return systemName;
    }

    public void setSystemName(String systemName) {
        this.systemName = systemName;
    }

    public String getSystemCode() {
        return systemCode;
    }

    public void setSystemCode(String systemCode) {
        this.systemCode = systemCode;
    }

    public String getSystemUrl() {
        return systemUrl;
    }

    public void setSystemUrl(String systemUrl) {
        this.systemUrl = systemUrl;
    }

    public String getPhotoId() {
        return photoId;
    }

    public void setPhotoId(String photoId) {
        this.photoId = photoId;
    }

    public Integer getSystemIndex() {
        return systemIndex;
    }

    public void setSystemIndex(Integer systemIndex) {
        this.systemIndex = systemIndex;
    }
}
